<%@ page language="java" pageEncoding="utf-8" import="java.util.*"%>
<%
response.setHeader("Pragma","No-cache"); 
response.setHeader("Cache-Control","no-cache"); 
response.setDateHeader("Expires", 0); 
%>
<script> 
function pubmycouse(){
  
   getHTML("teach/pubcouse.jsp");
   clickpoint=GEvent.addListener(map, "click", function(overlay,latlng) {
    mycouse.lng.value=latlng.lng();
    mycouse.lat.value=latlng.lat();
   });
}
var dpage=0;
function fy2(dd,cc){
   dpage=dd;
   if(dpage<=cc){
   $.get("teach/myteachlist.jsp?dpage="+dpage,null,dddd);
   }
}
function dddd(data){  
    $("#nwin").html(data); 
}
function fy1(ee){
   dpage=ee;
   if(dpage>0){
   $.get("teach/myteachlist.jsp?dpage="+dpage,null,eeee);
   }
}
function eeee(data){  
    $("#nwin").html(data); 
}

</script>
<table>
<tr>
   <td><a href="#" onclick="pubmycouse()">发布我的课程</a></td>
</tr>
<tr>
   <td>
    我的课程列表
   </td>
</tr>
<tr>
   <td>
   <% 
    int cc=0;
    int dd=1;
    if(request.getParameter("dpage")!=null){
      int dpage=Integer.parseInt(request.getParameter("dpage"));
      System.out.println(dpage);
      dd=dpage;
     
     
    }else{
     dd=1;
     System.out.println("ddddd");
    }
    //int cpage=Integer.parseInt(request.getParameter("pagew"));
    %>
  